﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Workflows.Components.Entities.Documents
{
    [Serializable]
    public class Term
    {
        private int _TermID;
        /// <summary></summary>
        public int TermID
        {
            get
            {
                return this._TermID;
            }
            set
            {
                this._TermID = value;
            }
        }

        private string _Phrase;
        /// <summary></summary>
        public string Phrase
        {
            get
            {
                return this._Phrase;
            }
            set
            {
                this._Phrase = value;
            }
        }

        private double _Weight;
        /// <summary></summary>
        public double Weight
        {
            get
            {
                return this._Weight;
            }
            set
            {
                this._Weight = value;
            }
        }

        public Term(int termID, string phrase, double weight)
        {
            this._TermID = termID;
            this._Phrase = phrase;
            this._Weight = weight;
        }
    }
}
